home *** CD-ROM | disk | FTP | other *** search
/ Workplace Effectiveness: Critical Thinking Skills / Workplace Effectiveness: Critical Thinking Skills.iso / pc / Files / Define.dxr / 00003_Navigation handlers.ls < prev    next >
Encoding:
Text File  |  1998-09-15  |  858 b   |  43 lines

  1. global gMasterData, gSection, gDefineChoices
  2.  
  3. on goIntro
  4.   go(label("intro"))
  5.   goNarrator(gMasterData, "03")
  6.   set gSection to #intro
  7. end
  8.  
  9. on setupDragStuff
  10.   global gDragSprites
  11.   set gSection to #dragSection
  12.   stopSound2()
  13.   if voidp(gDragSprites) then
  14.     initDragData()
  15.   else
  16.     resetItems()
  17.   end if
  18. end
  19.  
  20. on goHowMany
  21.   stopSound2()
  22.   go("howmany")
  23.   audio1xOnly(gMasterData, "05")
  24.   set gSection to #howMany
  25.   if not activationOn(gMasterData) then
  26.     activate(gMasterData)
  27.   end if
  28. end
  29.  
  30. on goButtons1
  31.   if voidp(gDefineChoices) then
  32.     set gDefineChoices to [#Buttons1: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], #buttons2: [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]
  33.   end if
  34.   set gSection to #Buttons1
  35.   go("buttons1")
  36.   goNarrator(gMasterData, "06")
  37. end
  38.  
  39. on goButtons2
  40.   set gSection to #buttons2
  41.   go("buttons2")
  42. end
  43.